package com.wq.sofa.framework.rpc.common;

/**
 * @Author: wangqiang20995
 * @Date:2018/10/11
 * @Description:
 * @Resource:
 */
public enum Protocols {
    BOLT("bolt"),
    DUBBO("dubbo");


    private String protocol;

    public void setProtocol(String protocol) {
        this.protocol = protocol;
    }

    Protocols(String protocol){
        this.protocol = protocol;
    }

    @Override
    public String toString() {
        return protocol;
    }
}
